<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><a href='/dcc/companies'>店铺管理</a><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table">
<div class="content-table-title"><?=$this->title?></div>
<br />
<?php if($this->msg):?>
<div class="replace"><?=$this->msg?></div>
<br />
<?php endif;?>
<a href="/dcc/companies-user-add/company_id/<?=$this->company_id?>"><font color="green"><b>【创建坐席】</b></font></a>
<br /><br />
<table>
  <tr>
    <th>姓名</th>
    <th>手机号</th>
    <th>天润ID</th>
    <th>分机号</th>
    <th>状态</th>
    <th>操作</th>
  </tr>
  <?php if($this->users):?>
  <?php foreach($this->users as $data):?>
  <tr>
    <td><?=$data["user_name"]?></td>
    <td><?=$data["cellphone"]?></td>
    <td><?=$data["call_id"]?></td>
    <td><?=$data["call_phone"]?></td>
    <td><?=$data["status"]?"<font color='green'>正常</font>":"<font color='red'>离职</font>"?></td>
	<td>
		<button type="button" onclick="window.location.href='/dcc/companies-user-edit/user_id/<?=$data["user_id"]?>'">编辑</button>
	</td>
  </tr>
  <?php endforeach;?>
  <?php endif;?>
</table>

<br /><br />
<div align="right"><?=$this->pagination?></div>
<br /><br /><br />
